import instance from "../http"
//导航栏
function cateGory(data){
  return instance({
    method:"GET",
    url:"/category/categoryNav",
    data
  })
}
//商品列表
function goodList(data){
  return instance({
    method:"GET",
    url:"/goods/goodsList",
    data
  })
}
//分类主页面导航
function NavAction(data){
  return instance({
    method:"GET",
    url:"/category/indexaction",
    data
  })
}
//分类主列表数据
function NavList(data){
  return instance({
    method:"GET",
    url:"/category/currentaction",
    data
  })
}
export default {
  cateGory,
  goodList,
  NavAction,
  NavList
}